package com.xinke.module.system.model.vo.notice;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 站内信模板新增/修改 Request VO")
@Data
public class NotifyTemplateSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16953")
    private Long templateId;

    @Schema(description = "模板名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "模板名称不能为空")
    private String templateName;

    @Schema(description = "模版编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "模版编码不能为空")
    private String templateCode;

    @Schema(description = "发送人名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "发送人名称不能为空")
    private String templateNickName;

    @Schema(description = "模版内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "模版内容不能为空")
    private String templateContent;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "类型不能为空")
    private Integer templateType;

    @Schema(description = "参数数组")
    private String templateParams;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer templateStatus;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}